package com.zhongya.example.view.interpolator

import android.animation.TimeInterpolator
import android.util.Log
import android.view.animation.LinearInterpolator

class MyInterpolator : LinearInterpolator() {

    override fun getInterpolation(input: Float): Float {
        Log.e("wzy","$input--${super.getInterpolation(input)}")

        return super.getInterpolation(input)
    }
}

class MyInterpolator2 : TimeInterpolator {
    override fun getInterpolation(p0: Float): Float {
//        Log.e("wzy","$p0")
        return 2 - p0
//        return p0
    }


}